package com.itlaobing.proxy.dynamic;

import java.util.logging.Logger;

public class Factory implements HuaWei{

    private Logger logger = Logger.getLogger( this.getClass().getName() ) ;

    @Override
    public Phone produce() {
        logger.info( "工厂生产手机" );
        Phone p = new Phone();
        p.setBrand(BRAND);
        return p;
    }
}
